package com.stylefeng.guns;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @Description: ApplicationRunner
 * @author chenchen
 * @date 2018/7/5 18:38
 */
@Component
public class GunsApplicationRunner implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("spring applicationcontext refreshed");
    }
}
